package com.ldzy.service;
import com.github.pagehelper.Page;
import com.ldzy.domain.PageResult;
import com.ldzy.domain.Record;
import com.ldzy.domain.Tool;

import java.util.List;


public interface ToolService {
     PageResult selectNewBooks(Integer pageNum, Integer pageSize);
        public int edit(Tool tool);
        public int returnConfirm(Tool tool);
        public Page<Tool> findByBookWithUpLoadTimeDesc(Tool tool);
        public List<Tool> findByName(String name);
        public List<Tool> findbyName(String name);
        public Page<Record> findByBook(Record record);


}